<?php echo $this->Form->create('Tarea');?>
<fieldset>
<legend>Edita tarea</legend>
<?php echo $this->Form->hidden('id');
      echo $this->Form->input('titulo');
      echo $this->Form->input('hecha');?>
</fieldset>
<?php echo $this->Form->end('Salvar');?>
<?php echo $this->Html->link("Lista todas las tareas", array('action' => 'index')); ?>
<?php echo $this->Html->link("Agregar tarea", array('action' => 'add')); ?></br>
<?php echo $this->Html->link("Listar tareas hechas", array('action' => 'index'),'hecha'); ?></br>
<?php echo $this->Html->link("Listar tareas pendientes", array('action' => 'index'),'pendiente'); ?></br>